.el-dropdown-menu__item {
  font-size: 14px !important;
  line-height: 28px !important;
}

//.el-card.is-always-shadow {
//  box-shadow: none;
//  border: none !important;
//}

.el-scrollbar__view {
  height: 100%;
}

.el-menu--horizontal {
  border-bottom: none !important;
}

.el-menu {
  border-right: none !important;
}

.el-menu--display,
.el-menu--display + .el-submenu__icon-arrow {
  display: none;
}


.el-message__icon,
.el-message__content {
  display: inline-block;
}

.el-date-editor .el-range-input,
.el-date-editor .el-range-separator {
  height: auto;
  overflow: hidden;
}

.el-dialog__wrapper {
  z-index: 2048;
}

.el-col {
  margin-bottom: 8px;
}

.el-main {
  padding: 0 !important;
}

.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent;
}


.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent !important;
}

.el-card__header {
  padding: 6px 18px !important;
}

.el-card__body {
  //padding: 16px !important;
}

.el-divider--horizontal {
  margin: 12px 0 !important;
}
.el-transfer-panel__filter{
  margin: 10px 15px 5px;
}

.el-container{
  background-color: #ffffff;
}

.el-select{
  width: 100%;
}

/***
选项卡
**/
.el-tabs--border-card>.el-tabs__content{
  padding: 10px !important;
}

/***
导航
**/
.el-menu-item {
  height: 38px !important;
  line-height: 38px !important;
}
.el-sub-menu__title{
  height: 38px !important;
  line-height: 38px !important;
}
.el-sub-menu .el-menu-item {
  height: 38px !important;
  line-height: 38px !important;
}
.el-menu-item.is-active{
  background-color: var(--dm-bg-menuBarActiveColor) !important;
  border-left: 3px solid var(--dm-color-primary);
}
.el-sub-menu.is-active.is-opened .el-sub-menu__title {
  background-color: var(--dm-color-menu-active) !important;
  color: var(--dm-color-primary) !important;
}

/**
解决el-radio切换时的报错
 */
.el-radio__original {
  display: none !important;
}
.el-radio:focus:not(.is-focus):not(:active):not(:is-disabled) .el-radio__inner{
  box-shadow: none !important;
}

/*
弹出框
 */
.el-dialog{
  margin: 0 auto;
  --el-dialog-margin-top: 0;
  max-height: calc(100% - 50px);
  max-width: calc(100% - 50px);
  top:50%;
  -webkit-transform: translate(-0%, -50%);
  transform: translate(-0%, -50%);
}
.dialog-footer{
  background-color: #ffffff;
  z-index: 10000;
}
.el-dialog__footer{
  border-top: 1px solid #e9e7e7;
  padding: 10px 20px 10px;
  z-index: 10000;
}
.el-dialog .el-dialog__body > .el-form{
  margin: 0px auto 25px; // 单独给对话框里的表单加上下边距
  padding-right: 10px;
}

/*
表单
 */
.el-form .el-col{
  margin-bottom: 0;
}
.el-form-item--small .el-form-item__content, .el-form-item--small .el-form-item__label {
  line-height: 30px !important;
  font-size: 14px;
}
.el-form-item--small .el-form-item__label{
  line-height: 32px !important;
  height: 32px !important;
}
.el-form-item--label-top .el-form-item__label{
  margin-bottom: 0;
}
.el-input--small,.el-radio__label,.el-radio.el-radio--small .el-radio__label{
  font-size: 14px !important;
}
.el-input--small .el-input__inner{
  height: 28px;
  line-height: 28px;
}
.el-select--small .el-select__wrapper{
  font-size: 14px !important;
  min-height: 30px !important;
  line-height: 30px !important;
}
.el-input-number.is-controls-right[class*=small] [class*=decrease], .el-input-number.is-controls-right[class*=small] [class*=increase]{
  --el-input-number-controls-height: 14px !important;
}
.el-date-editor.el-input, .el-date-editor.el-input__wrapper{
  height: 30px !important;
}
.el-switch--small{
  font-size: 14px;
  height: 30px;
}
.el-switch--small .el-switch__label,.el-switch--small .el-switch__label * {
  font-size: 14px;
}
.el-switch--small .el-switch__core{
  min-width: 40px;
  height: 20px;
  border-radius: 10px;
}
.el-switch--small .el-switch__core .el-switch__action{
  width: 16px;height: 16px;
}
.el-switch--small.is-checked .el-switch__core .el-switch__action{
  left: calc(100% - 17px);
}
.el-form-item__content .el-upload .el-button--small{
  height: 30px;
}
.el-input__suffix-inner .el-icon{
  line-height: 28px;height: 28px;
}
.el-form-item__content .el-checkbox.is-bordered{
  margin-bottom: 5px;
  margin-top: 5px;
}
/*
列表
 */
.el-table--small, .el-table__expand-icon{
  font-size: 14px;
}
.el-table--small .el-table__cell {
  padding: 4px 0;
}
.el-table .cell{
  line-height: 22px;
  font-size: 14px;
  padding: 0 8px;
}
.el-table th.el-table__cell>.cell{
  padding: 0 3px;
}
.el-table .cell .el-tag{
  line-height: 20px;
  height: 22px;
}
.el-table--mini .cell .el-tag{
  line-height: 18px;
  height: 20px;
}
.el-table .caret-wrapper{
  height: 22px;
}
.el-table .sort-caret.ascending{
  top:0;
}
.el-table .sort-caret.descending{
  bottom: 0;
}
/****处理固定列错行问题****/
.el-table th.el-table__cell .cell{
  display: flex;
  justify-content:flex-start;
}
.el-table th.el-table__cell.is-center .cell{
  justify-content:center;
}

.el-table th.el-table__cell.is-right .cell{
  justify-content: flex-end;
}
.el-table th.el-table__cell .cell span:first-child{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.el-table.is-scrolling-none th.el-table-fixed-column--left,
.el-table.is-scrolling-none th.el-table-fixed-column--right,
.el-table.is-scrolling-left th.el-table-fixed-column--left,
.el-table.is-scrolling-right th.el-table-fixed-column--right{
  background-color: #fafafa;
}

/***
按钮
****/
.el-button--small{
  padding: 7px 8px;
  height: 28px;
}
.el-button--small.is-circle{
  padding: 7px;
  width: 28px;
}
.el-button--small.is-text,.el-button--small.is-link{
  padding: 2px 0;
  height: auto;
}
.el-button--small.is-text [class*=el-icon]+span,.el-button--small.is-link [class*=el-icon]+span {
  margin-left: 2px;
}

/**
修改复选框、单选框间距
 */
.avue-checkbox .el-checkbox, .avue-radio .el-radio {
  margin-right: 30px;
}
.el-checkbox .el-checkbox__label,.el-radio .el-radio__label{
  padding-left: 6px;
}
.el-checkbox.el-checkbox--small .el-checkbox__inner,.el-radio.el-radio--small .el-radio__inner{
  width: 16px !important;height: 16px !important;
}
.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{
  top:6px
}
.el-form-item__content .el-radio-group{
}
.el-radio.el-radio--small{
  margin-top: 5px;
  margin-bottom: 5px;
}

// 设置页面统一根元素
.el-container {
  padding: 10px;
  box-sizing: border-box;
  background-color: #fff;
}
// 设置单选多选框居中
.el-table__body-wrapper .el-table-column--selection > .cell {
  justify-content: center;
}

.el-pagination{
  --el-pagination-font-size-small: 14px;
}

.el-empty{
  padding: 10px 0;
}
.el-empty__description{
  margin-top: 10px;
  line-height: 20px;
}

/**
描述列表
**/
.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{
  font-size: 16px !important;
}
.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{
  font-size: 14px !important;
}
.el-descriptions--small .el-descriptions__body .el-descriptions__table .is-bordered-label{
  text-align: right;
  line-height: 30px;
}
.el-descriptions__header{
  margin-bottom: 10px;
}


.avue-input-icon__item .avue-icon i {
  font-size: 30px !important;
  width: 30px;
  height: 30px;
}

.el-menu--popup-right-start{
  margin-left: 1px;
}